package com.xxx.client.android.api;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class MarqueeListEntry implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4107270128882073075L;
	private String header;
	private List<MarqueeVO> marqueeList;

	public MarqueeListEntry() {
		marqueeList = new ArrayList<MarqueeVO>();
	}

	public MarqueeListEntry(int size) {
		marqueeList = new ArrayList<MarqueeVO>(size);
	}

	public String getHeader() {
		return header;
	}

	public void setHeader(String header) {
		this.header = header;
	}

	public int getCount() {
		if (marqueeList != null) {
			return marqueeList.size();
		} else {
			return 0;
		}
	}

	public MarqueeVO getMarquee(int index) {
		return marqueeList.get(index);
	}

	public void addMarquee(MarqueeVO marqueeVO) {
		marqueeList.add(marqueeVO);
	}
}
